package com.yf.dao.course;

import com.yf.dao.BaseDao;
import com.yf.entity.course.LessonOrderItemEntity;
import com.yf.vo.OrderItemBackVo;

import java.util.List;
import java.util.Map;

import java.util.List;

/**
 * 订单明细Dao
 *
 * @author hxf
 * @email 505860922@qq.com
 * @date Wed Oct 24 11:55:59 CST 2018
 */
public interface LessonOrderItemDao extends BaseDao<LessonOrderItemEntity> {
    /**
     * 根据lessonOrderId获取LessonOrderItem
     */
    List<LessonOrderItemEntity> getByOrder(List<Long> oIdList);

    //批量保存
    void saveBatch(List<LessonOrderItemEntity> list);
    /**
     * back 订单明细
     * @return
     */
    List<OrderItemBackVo> orderItemList(Map<String, Object> params);


}
